SkyFire

E_WARNING: PDOStatement::execute(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/^https/i.test(window.location.href||'')'' at line 1


FILE: _cache/cs_mini/core/class.cs_db.php -> line 160
URL:  http://www.bomir.com.pl/components/js/jquery.fancybox/'+(/^https/i.test(window.location.href||'')?%27javascript:void(false)%27:%27about:blank%27)+%27

Reload »
001. <? class cs_db {
002.
003.
004.    function 
order_by($col$dir='asc'$ident=false) {
005. ...

155.        global 
$CONF$SQL_QU;
156.        try {
157.            if(
$CONF->SHOW_SQL)
158.                        
$SQL_QU[]=$query;
159.            
$ret=$this->POLACZENIE->prepare($query);
160.            $ret->execute();
161.            if(
$ret==false) throw new Exception('sql_error');
162.        } catch (
Exception $e) {
163.            
$mysql_error=$e->getMessage();
164.
165.            if(
stristr($mysql_error'marked as crashed') && $this->AFTER_REPAIR!=true) {